<?php
namespace Common\Model;
use Common\Model\AiModel;
class HospitalModel extends AiModel {
    public function ToIdGetHospitalInfo($id){
    	$where['id']=$id;
        $info=$this->where($where)->find();
        $info['province_name']=area_toidgetname($info['province_id']);
        $info['city_name']=area_toidgetname($info['city_id']);
        $info['area_name']=area_toidgetname($info['area_id']);
        return $info;
    }
    
}